package com.galengao.springboot.eventlistener.mapper;

import com.galengao.springboot.eventlistener.dto.UserDto;
import com.galengao.springboot.eventlistener.entity.User;
import com.galengao.springboot.mapstruct.BaseMapper;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * mapstruct 用户转换
 * @author galenGao
 * @version Id: UserMapper.java, v 0.1 2022/7/21 21:33  GalenGao Exp $$
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserMapper extends BaseMapper<UserDto, User> {

}
